import React, {useState} from 'react';

const FunChildren = (props) => {
    const [num, setNum] = useState(0);
    return (
        <div>
            <h4>函数组件 ==> 子组件</h4>
            <div>num ===> {num}</div>
        </div>
    );
};

export default FunChildren;